package com.task.core.domain.info;

import com.task.common.domain.info.CountryInfo;

import lombok.Data;

/**
 * @author 迪迦.
 * @date 2025/1/16 14:26
 */
@Data
public class ClientCountryInfo {

  private Integer id;

  private String code;

  private String countryName;

  public ClientCountryInfo(CountryInfo countryInfo) {
    this.id = countryInfo.getId();
    this.code = countryInfo.getCode();
    this.countryName = countryInfo.getCountryName();
  }
}
